package cn.gov.ssxmzj.mapper;

import cn.gov.ssxmzj.entry.ManagerInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ManagerMapper {

    /**
     * 获取用户信息
     * @param dataMap
     * @return
     */
    public List<ManagerInfo> getManagerInfoByName(Map dataMap);

    int getManagerCount(Map dataMap);

    List<ManagerInfo> getManagerInfoLimit(Map dataMap);

    int modifyManager(ManagerInfo managerInfo);

    int deleteManager(String managerId);

    void addManager(ManagerInfo manager);

}
